﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace IAlarm
{
    /// <summary>
    /// 将报警信息写入文件接口
    /// </summary>
    public interface IAlarmWriter
    {
        /// <summary>
        /// 将报警信息写入文件
        /// </summary>
        /// <param name="eventGroup">一组报警信息</param>
        bool WriteGroup(GroupInfo group);

        bool WriteAlarm(GroupInfo group, AlarmInfo alarm, Bitmap frame);

    }
}
